####
# 此 Dockerfile 用于构建运行 Spring Boot 应用程序的容器
####
FROM registry.cn-shenzhen.aliyuncs.com/kubedo/openjdk:8
COPY ./target/*.jar /app/target/gitee-spring-boot-docker.jar

EXPOSE 8080
ENTRYPOINT [ "java", "-jar", "/app/target/gitee-spring-boot-docker.jar", "--server.port=8080" ]